
<div class="model_actions_toolbar">
    <?php $this->widget('backend.components.ModelActions'); ?>
</div>

<table class="data_grid" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <th class="label">
            <?php echo CHtml::encode($model->getAttributeLabel('name')); ?>
        </th>
        <td><?php echo CHtml::encode($model->name); ?></td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('standard')); ?>
        </th>
        <td><?php echo CHtml::encode($model->standard); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('market_price')); ?>
        </th>
        <td><?php echo CHtml::encode($model->market_price); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('member_price')); ?>
        </th>
        <td><?php echo CHtml::encode($model->member_price); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('summary')); ?>
        </th>
        <td><?php echo $model->summary; ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('thumbnail_saved_path')); ?>
        </th>
        <td><?php echo CHtml::image($model->thumbnailSource, '', array('style' => 'width: 100px; height: 100px; padding: 2px; border: #ccc solid 1px;')); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('is_recommend')); ?>
        </th>
        <td><?php echo CHtml::encode($model->is_recommend); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('status')); ?>
        </th>
        <td><?php echo CHtml::encode($model->status); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('created')); ?>
        </th>
        <td><?php echo date('Y-m-d', $model->created); ?>
        </td>
    </tr>
    <tr>
        <th class="label"><?php echo CHtml::encode($model->getAttributeLabel('updated')); ?>
        </th>
        <td><?php echo $model->updatedFormatted; ?>
        </td>
    </tr>
</table>
